package com.example.b_308.software.view.main.register;

import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.b_308.software.R;
import com.example.b_308.software.view.BaseFragment;

/**
 * Created by B-308 on 2017/11/29.
 */
public class MessageFullFragment extends BaseFragment implements View.OnClickListener{
  TextView tv_com_infor,tv_com_name,tv_com_phone,tv_com_addre,tv_com_scale,tv_create_der;
    ImageView iv_com_name,iv_com_phone,iv_com_addre,iv_com_scale,iv_create_der;
    EditText et_input_about_com;
    Button but_next2;
    @Override
    public View setContentView(LayoutInflater inflater) {
        return inflater.inflate(R.layout.fragment_message_full,null,false);
    }

    @Override
    public void initData() {

    }

    @Override
    public void initView() {
        tv_com_infor.findViewById(R.id.tv_com_infor);
        tv_com_name.findViewById(R.id.tv_com_name);
        tv_com_phone.findViewById(R.id.tv_com_phone);
        tv_com_addre.findViewById(R.id.tv_com_addre);
        tv_com_scale.findViewById(R.id.tv_com_scale);
        tv_create_der.findViewById(R.id.tv_create_der);
        iv_com_name.findViewById(R.id.iv_com_name);
        iv_com_phone.findViewById(R.id.iv_com_phone);
        iv_com_addre.findViewById(R.id.iv_com_addre);
        iv_com_scale.findViewById(R.id.iv_com_scale);
        iv_create_der.findViewById(R.id.iv_create_der);
        et_input_about_com.findViewById(R.id.et_input_about_com);
        but_next2.findViewById(R.id.but_next2);


    }

    @Override
    public void initListener() {
        but_next2.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.but_next2:
                tent2(RegSuccessFragment.class);

        }

    }

    private void tent2(Class<RegSuccessFragment> regSuccessFragmentClass) {

    }
}
